package de.sinnlosimnetz.forum.ws.server;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for Fault complex type.
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="Fault">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="class" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="stack" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Fault", propOrder = { "message", "clazz", "stack" })
public class Fault
{

	@XmlElement(required = true)
	protected String message;
	@XmlElement(name = "class", required = true)
	protected String clazz;
	@XmlElement(required = true)
	protected String stack;

	/**
	 * Gets the value of the message property.
	 * 
	 * @return possible object is {@link String }
	 */
	public String getMessage()
	{
		return message;
	}

	/**
	 * Sets the value of the message property.
	 * 
	 * @param value allowed object is {@link String }
	 */
	public void setMessage(String value)
	{
		this.message = value;
	}

	/**
	 * Gets the value of the clazz property.
	 * 
	 * @return possible object is {@link String }
	 */
	public String getClazz()
	{
		return clazz;
	}

	/**
	 * Sets the value of the clazz property.
	 * 
	 * @param value allowed object is {@link String }
	 */
	public void setClazz(String value)
	{
		this.clazz = value;
	}

	/**
	 * Gets the value of the stack property.
	 * 
	 * @return possible object is {@link String }
	 */
	public String getStack()
	{
		return stack;
	}

	/**
	 * Sets the value of the stack property.
	 * 
	 * @param value allowed object is {@link String }
	 */
	public void setStack(String value)
	{
		this.stack = value;
	}

}
